import 'package:flutter/material.dart';
import 'package:fun_shop/demo/animations/Implicit_animate.dart';
import 'package:fun_shop/demo/animations/explicit_animate.dart';

class IndexDemo extends StatelessWidget {
  const IndexDemo({super.key});

  @override
  Widget build(BuildContext context) {
    return SafeArea(
      child: Scaffold(
        appBar: AppBar(
          title: const Text('标题'),
        ),
        
        body: ListView(
          children: const [
            Text('-----隐式动画-----'),
            ImplicitAnimate(),
            Text('-----显式动画-----'),
            ExplicitAnimate()
          ],
        ),
      )
    );
  }
}